<template>
    <page-body >
        <view class="page" >
    <view class="flex align-stretch benben-position-layout flex newDetail_flex_0"    :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
            <view   class='flex align-center justify-between flex-sub newDetail_fd0_0'      >
            <view   class='flex align-center newDetail_fd0_0_c0'   @tap.stop="handleJumpDiy" data-type="back" data-url="1"   >
        <text class='fu-iconfont2  newDetail_fd0_0_c0_c0'  >&#xE794;</text>
</view>
    <view   class='flex align-center'      >
        <text class='newDetail_fd0_0_c1_c0'  >消息详情</text>
</view>
    <view   class='flex align-center newDetail_fd0_0_c0'      >
        </view>
</view>

        </view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"  ></view>

 <view class="flex flex-direction align-stretch newDetail_flex_1"    >
        <text class='newDetail_fd1_0'  >{{dataMessage.title}}</text>
<text class='newDetail_fd1_1'  >{{dataMessage.create_time}}</text>
        <jyf-parser class='newDetail_fd1_2'  :html="dataMessage.content | richTextFormat"  >
        </jyf-parser>
</view>
        

    
    
        </view>
    </page-body>
</template>
<script>
    import {validate} from '@/common/utils/validate.js'
    
    export default {
        components:{},
        
        
        data(){
			return {"dataMessage":{"aid":"","title":"","create_time":"","content":"","thumb":"","category_name":""},"id":"9"};
		},
		computed:{
            
		},
		watch:{},
		onLoad(options){
            let {id}=options
if (id !== undefined) this.id = id
this.getDetailFunc()
		},
        onUnload() {
                
        },
		onReady(){
            
		},
		onShow(){
            
		},
		onHide(){
            
		},
		onResize(){
            
		},
		onPullDownRefresh(){
            
		},
		onReachBottom(e){
            
		},
		onPageScroll(e){
            
		},
		methods:{
                            //系统文章-获取公告详情
                async getDetailFunc(){
                        //请求方法
    //数据验证
    
  let datadataMessage = await this.$api.get(global.apiUrls.post641576c24de11, {
    article_id:this.id
  });
  
  if (datadataMessage.data.code != 1) {
    this.$message.info(datadataMessage.data.msg);
    return
  } 
  let infodataMessage = datadataMessage.data;
  this.dataMessage = infodataMessage.data
  
                }
		}
    };
</script> 
<style lang="scss" scoped>
           .page{
            width: 100vw;
            overflow-x: hidden;
            min-height: calc(100vh - var(--window-bottom));
            background:var(--benbenbgColor1);background-size: 100% auto;
        }
    .newDetail_flex_0{
        background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
    }
    .newDetail_fd0_0_c1_c0{
        font-size:36rpx;font-weight:500;color:#333;
    }
    .newDetail_fd0_0_c0_c0{
        font-size:32rpx;font-weight:500;color:#333;
    }
    .newDetail_fd0_0_c0{
        width:180rpx;
    }
    .newDetail_fd0_0{
        padding:0rpx 32rpx 0rpx 32rpx;line-height:88rpx;
    }
    .newDetail_flex_1{
        padding:25rpx 32rpx 16rpx 32rpx;
    }
    ::v-deep .newDetail_fd1_2{
        width:100%;padding:32rpx 0rpx 32rpx 0rpx;
    }
    .newDetail_fd1_1{
        color:#999999;font-size:24rpx;line-height:33rpx;font-weight:400;margin:24rpx 0rpx 0rpx 0rpx;
    }
    .newDetail_fd1_0{
        font-size:32rpx;line-height:54rpx;font-weight:500;color:#333333;
    }
</style>